package com.jk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PingLun {
    private Integer id;
    private Integer authorid; //作者Id
    private String  biaoti;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    private Date    createtime=new Date();
    private Integer pingid;  //评论人id
    private String  pingname; //评论人名字
    private String  pingimg;  //评论图片
    private String  pingtext; //评论内容
    private String  author;

}
